#test-get.py
import http.client, urllib
httpRequest = ""
conn = http.client.HTTPConnection('127.0.0.1',5000)
conn.request("GET","/todos/todo2",httpRequest)
response = conn.getresponse()
data = response.read()
print(response.status,response.reason)
print(data)
conn.close()

